package com.liveneo.adapter.base.mapper;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.liveneo.adapter.base.entity.PrpmLossItemCypHistory;
import com.liveneo.adapter.mobile.model.request.GetPolicyItem31Request;

public interface PrpmLossItemCypHistoryMapper {
    int deleteByPrimaryKey(String lossItemCypHistoryId);

    int insert(PrpmLossItemCypHistory record);

    int insertSelective(PrpmLossItemCypHistory record);

    PrpmLossItemCypHistory selectByPrimaryKey(String lossItemCypHistoryId);

    int updateByPrimaryKeySelective(PrpmLossItemCypHistory record);

    int updateByPrimaryKey(PrpmLossItemCypHistory record);
    
    /***对外接口start**/
    int insertPrpmLossItemCypHistory(Map<String,String> param);
    
    String selectLossItemCypHistoryId(@Param("caseNo")String caseNo,@Param("lossType")String lossType);
    /***对外接口end**/

    List<PrpmLossItemCypHistory> getLossItemCypHistoryByRequest(GetPolicyItem31Request request);
}